package com.qiumo.gmtool.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qiumo.gmtool.entity.SignDataEntity;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SignDataMapper extends BaseMapper<SignDataEntity> {

    /**
     * 本月
     * @param loginId
     * @return
     */
    Integer getMonthSignCountByUid(Object loginId);

    /**
     * 当天
     * @param loginId
     * @return
     */
    Integer getTodaySignByUid(Object loginId);
}
